package com.yjd.bi.report.model;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：数据变更记录模型<br>
 * <b>time</b>：2016-04-08 15:29:55 <br>
 * <b>author</b>： ready likun_557@163.com
 */
public class BiDataChangeRecordModel extends Model {

	/**
	 * @Fields serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	/*
	 * 编号，主键，自动增长
	 */
	private java.lang.Long id;
	/*
	 * 所属数据库，来源于yjd_bi_database_info表id
	 */
	private java.lang.Long database_info_id;
	/*
	 * 变更来源表编号，来源于业务库中yjd_data_change_record表id
	 */
	private java.lang.Long data_change_record_id;
	/*
	 * 表名
	 */
	private java.lang.String table_name;
	/*
	 * 表主键值
	 */
	private java.lang.String ref_id;
	/*
	 * 操作类型,1:增加记录，2:删除记录，3:更新记录，默认为1
	 */
	private java.lang.Integer type;
	/*
	 * 创建时间
	 */
	private java.lang.Long create_time;
	/*
	 * 状态，0:待处理，1:处理成，2:处理失败
	 */
	private java.lang.Integer status;
	/*
	 * 应处理时间
	 */
	private java.lang.Long dispose_time;
	/*
	 * 实际处理时间
	 */
	private java.lang.Long actual_dispose_time;
	/*
	 * 最大允许失败次数
	 */
	private java.lang.Integer max_failure;
	/*
	 * 当前失败次数，默认为0
	 */
	private java.lang.Integer failure;
	/*
	 * 信息（处理失败的信息） 
	 */
	private java.lang.String message;
	/*
	 * 版本号，默认为0，每次更新加1
	 */
	private java.lang.Long version;

	public java.lang.Long getId() {
		return id;
	}

	public void setId(java.lang.Long id) {
		this.id = id;
	}

	public java.lang.Long getDatabase_info_id() {
		return database_info_id;
	}

	public void setDatabase_info_id(java.lang.Long database_info_id) {
		this.database_info_id = database_info_id;
	}

	public java.lang.Long getData_change_record_id() {
		return data_change_record_id;
	}

	public void setData_change_record_id(java.lang.Long data_change_record_id) {
		this.data_change_record_id = data_change_record_id;
	}

	public java.lang.String getTable_name() {
		return table_name;
	}

	public void setTable_name(java.lang.String table_name) {
		this.table_name = table_name;
	}

	public java.lang.String getRef_id() {
		return ref_id;
	}

	public void setRef_id(java.lang.String ref_id) {
		this.ref_id = ref_id;
	}

	public java.lang.Integer getType() {
		return type;
	}

	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	public java.lang.Long getCreate_time() {
		return create_time;
	}

	public void setCreate_time(java.lang.Long create_time) {
		this.create_time = create_time;
	}

	public java.lang.Integer getStatus() {
		return status;
	}

	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Long getDispose_time() {
		return dispose_time;
	}

	public void setDispose_time(java.lang.Long dispose_time) {
		this.dispose_time = dispose_time;
	}

	public java.lang.Long getActual_dispose_time() {
		return actual_dispose_time;
	}

	public void setActual_dispose_time(java.lang.Long actual_dispose_time) {
		this.actual_dispose_time = actual_dispose_time;
	}

	public java.lang.Integer getMax_failure() {
		return max_failure;
	}

	public void setMax_failure(java.lang.Integer max_failure) {
		this.max_failure = max_failure;
	}

	public java.lang.Integer getFailure() {
		return failure;
	}

	public void setFailure(java.lang.Integer failure) {
		this.failure = failure;
	}
	
	public java.lang.String getMessage() {
		return message;
	}

	public void setMessage(java.lang.String message) {
		this.message = message;
	}

	public java.lang.Long getVersion() {
		return version;
	}

	public void setVersion(java.lang.Long version) {
		this.version = version;
	}

}
